<?php
$this->breadcrumbs = array(
	'登陆管理' => array(
		'admin'
	),
	$model->username,
);

$this->userActions = array(
	array(
		'label' => '新建登陆',
		'url' => array(
			'user/create'
		),
		'iconClass' => 'icon-user-add',
	),
	array(
		'label' => '编辑登陆',
		'url' => array(
			'user/update',
			'id' => $model->id,
		),
		'iconClass' => 'icon-user-edit',
	),
	array(
		'label' => '编辑权限',
		'url' => array(
			'userAccess/update',
			'userId' => $model->id,
		),
		'iconClass' => 'icon-user-edit',
	),
);
?>

<h1>查看登陆用户<?php echo $model->username; ?></h1>
<?php $this
	->widget('zii.widgets.CDetailView',
		array(
			'data' => $model,
			'attributes' => array(
				'id',
				'username',
				//'password',
				'active:boolean',
			),
		));
?>
